package a.h;

import java.awt.*;

public class ic
  extends gc
{
  public static final String y = "ColorOptionItem.showAlpha";
  public static final String z = "ColorOptionItem.ATTRIBUTE_SHOW_SOME_COLORS";
  public static final String A = "ColorOptionItem.ATTRIBUTE_SHOW_MRU_COLORS";
  public static final String B = "ColorOptionItem.ATTRIBUTE_SHOW_MORE_COLORS";
  public static final String C = "ColorOptionItem.ATTRIBUTE_SHOW_NO_COLOR";
  public static final String D = "ColorOptionItem.ATTRIBUTE_DISPLAY_HEX_VALUES";
  public static final String E = "ColorOptionItem.ATTRIBUTE_ALLOW_TEXT_INPUT";
  public static final String F = "ColorOptionItem.ATTRIBUTE_USE_ICON_AS_TRIGGER";
  static Class G;
  public static int H;
  
  public ic(String paramString, Color paramColor)
  {
    this(paramString, paramColor, false, false, false, true);
  }
  
  public ic(String paramString, Color paramColor, boolean paramBoolean1, boolean paramBoolean2, boolean paramBoolean3, boolean paramBoolean4)
  {
    super(paramString, paramColor);
    if (ec.t == 0) {}
    a(G == null ? (ic.G = f("java.awt.Color")) : G);
    a("ColorOptionItem.ATTRIBUTE_SHOW_NO_COLOR", Boolean.valueOf(paramBoolean1));
    a("ColorOptionItem.ATTRIBUTE_SHOW_SOME_COLORS", Boolean.valueOf(paramBoolean2));
    a("ColorOptionItem.ATTRIBUTE_SHOW_MRU_COLORS", Boolean.valueOf(paramBoolean3));
    a("ColorOptionItem.ATTRIBUTE_SHOW_MORE_COLORS", Boolean.valueOf(paramBoolean4));
    a("ColorOptionItem.showAlpha", Boolean.FALSE);
  }
  
  public String n()
  {
    return "Color";
  }
  
  public void a(Object paramObject)
  {
    if (ec.t == 0)
    {
      if (((paramObject instanceof Color)) || (paramObject == null)) {
        super.a(paramObject);
      }
    }
    else if (!ec.s) {
      return;
    }
    String str = "Argument type mismatch. Expected java.awt.Color but was " + paramObject.getClass().getName();
    throw new IllegalArgumentException(str);
  }
  
  public boolean b()
  {
    return ((Boolean)c("ColorOptionItem.ATTRIBUTE_SHOW_NO_COLOR")).booleanValue();
  }
  
  public boolean q()
  {
    return ((Boolean)c("ColorOptionItem.ATTRIBUTE_SHOW_SOME_COLORS")).booleanValue();
  }
  
  public boolean r()
  {
    return ((Boolean)c("ColorOptionItem.ATTRIBUTE_SHOW_MRU_COLORS")).booleanValue();
  }
  
  public boolean s()
  {
    return ((Boolean)c("ColorOptionItem.ATTRIBUTE_SHOW_MORE_COLORS")).booleanValue();
  }
  
  static boolean a(ec paramec)
  {
    if (paramec != null) {
      if (ec.t != 0) {
        break label26;
      }
    }
    label26:
    return !Boolean.TRUE.equals(paramec.c("ColorOptionItem.ATTRIBUTE_DISPLAY_HEX_VALUES"));
  }
  
  static boolean b(ec paramec)
  {
    if (paramec != null) {
      if (ec.t != 0) {}
    }
    return Boolean.TRUE.equals(paramec.c("ColorOptionItem.showAlpha"));
  }
  
  static Class f(String paramString)
  {
    try
    {
      return Class.forName(paramString);
    }
    catch (ClassNotFoundException localClassNotFoundException)
    {
      throw new NoClassDefFoundError(localClassNotFoundException.getMessage());
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.h.ic

 * JD-Core Version:    0.7.0.1

 */